﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Logistics.BLL
{
    public class TruckBLL
    {
        public static List<Model.Truck> GetTrucks()
        {
            return DAL.TruckDAL.GetTrucks();
        }
        public static bool Del(string TruckID)
        {
            return DAL.TruckDAL.Del(TruckID) != 0 ? true : false;
        }
        public static Model.Truck Eshow(string TruckID)
        {
            return DAL.TruckDAL.Eshow(TruckID);
        }
        public static int updatetruck(string FK_TeamID, string State, string TruckID)
        {
            return DAL.TruckDAL.updatetruck(FK_TeamID, State, TruckID);
        }
        public static List<Model.Truck> Getqwe(string Number, string Type, int PageIndex, int PageSize, out int TotalCount)
        {
            return DAL.TruckDAL.Getqwe(Number, Type, PageIndex, PageSize,out TotalCount);
        }
    }
}
